home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Snippets / SuperSplash 1.0d1 / sources / gConstDefines.h < prev    next >
C/C++ Source or Header  |  1995-10-03  |  1KB  |  76 lines

  1. #pragma once
  2. /*        
  3. *    gConstDefines.h
  4. *
  5. *    SuperSplash
  6. *    ^^^^^^^^^^^
  7. *
  8. *    Defined items with global scope
  9. *    © Andrew Nemeth (where applicable), Warrimoo Australia 1995
  10. *
  11. *    File created:        3 Oct 95.
  12. *    Modified:            3 Oct 95.
  13. */
  14.  
  15.  
  16. //    #DEFINES
  17. //
  18.  
  19. #define        kMoveToFront            (WindowPtr)-1L
  20. #define        kEmptyString            "\p"
  21. #define        kNilFilterProc            NULL
  22.  
  23.  
  24. //    APPLICATION SIGNATURE
  25. //
  26.  
  27. const  OSType    kAppCreator = '????';
  28.  
  29.  
  30.  
  31.  
  32. //    MENUs
  33. //
  34.  
  35. //                                                        Application Menu bar
  36. const  short    kMenuBar_ID = 2000;
  37. //                                                        Indexes & Number of menus in bar
  38. enum        {
  39.                     kAppleNdx,
  40.                     kFileNdx,
  41.                     kOptionsNdx,
  42.                     kMenusInBar  };
  43.  
  44. enum        {  kMyAppleMenu = 0,
  45.  
  46.                     kM_About,
  47.                     
  48.                     kMApple_ID = 2000  };
  49.  
  50. enum        {  kMyFileMenu = 0,
  51.  
  52.                     kM_Quit,
  53.                     
  54.                     kMFile_ID = 2001  };
  55.  
  56. enum        {  kMyOptionsMenu = 0,
  57.  
  58.                     kM_Splash_JPEG_file,
  59.                     kM_Splash_PICT_file,
  60.                     k______3a,
  61.                     kM_Splash_PICT_resource,
  62.                     
  63.                     kMOptions_ID = 2002  };
  64.  
  65. //    DIALOGS
  66. //
  67.  
  68. //                                                        'About application' ALRT
  69. const  short    kresidALRT_About = 2000,
  70.             kresidALRT_QuickTime = 2001;
  71. //                                                        useful constants for DITLs
  72. const  short    iOKButton = 1,
  73.             iCancelButton = 2,
  74.             kDisableControl = 255,
  75.             kEnableControl = 0;
  76.